package com.andy.buyu.server.dto;

import com.andy.buyu.server.game.FishGame;

import io.netty.buffer.ByteBuf;

/**
 * 剧本开始205
 * @author cuiwm
 */
public class NextStagMessage extends BaseMessage{
	
	FishGame fishGame;
    
    public NextStagMessage(FishGame fishGame) {
    	this.fishGame = fishGame;
	}

	@Override
	public void writeBody(ByteBuf buf) {
		buf.writeInt(fishGame.getStageId());
//		buf.writeInt(fishGame.getTimes());
		buf.writeLong(fishGame.getStartTime());
		
	}


}